LIBS = -I `pwd` `pkg-config --cflags --libs gtk+-2.0` -export-dynamic

picksel: xml
	-rm -f picksel
	gcc -o picksel $(LIBS) picksel.c
xml:
	-rm -f *.xml
	gtk-builder-convert picksel.glade picksel.xml
	gtk-builder-convert preferences-dialog.glade preferences-dialog.xml
	gtk-builder-convert clear-history-confirm-dialog.glade clear-history-confirm-dialog.xml
	gtk-builder-convert history-context-menu.glade history-context-menu.xml
